package com.flyforum.domain;

import java.io.Serializable;

public class UserPreference implements Serializable {

	private static final long serialVersionUID = 1127597732332239123L;

	/**
	 * 使用默认
	 */
	public Integer SHOW_DEFAULT = 0;

	/**
	 * 显示自定义
	 */
	public Integer SHOW_MINE = 1;

	/**
	 * 不显示
	 */
	private Integer SHOW_NONE = 2;

	private Integer userId;

	/**
	 * theme
	 */
	private Integer themeId;

	/**
	 * 每页主题数
	 */
	private Integer topicPageSize;

	/**
	 * 每页帖数
	 */
	private Integer replyPageSize;

	private Integer showSign;

	private Integer showAvatar;

	private Integer timeZone;

	/**
	 * 在线列表中隐身
	 */
	private boolean showOffline;

	/**
	 * Email 地址可见
	 */
	private boolean showEmail;

	/**
	 * 同意接收论坛通知 (Email 或短消息)
	 */
	private boolean acceptMsg;

	public boolean isAcceptMsg() {
		return acceptMsg;
	}

	public void setAcceptMsg(boolean acceptMsg) {
		this.acceptMsg = acceptMsg;
	}

	public Integer getReplyPageSize() {
		return replyPageSize;
	}

	public void setReplyPageSize(Integer replyPageSize) {
		this.replyPageSize = replyPageSize;
	}

	public Integer getSHOW_DEFAULT() {
		return SHOW_DEFAULT;
	}

	public void setSHOW_DEFAULT(Integer show_default) {
		SHOW_DEFAULT = show_default;
	}

	public Integer getSHOW_MINE() {
		return SHOW_MINE;
	}

	public void setSHOW_MINE(Integer show_mine) {
		SHOW_MINE = show_mine;
	}

	public Integer getSHOW_NONE() {
		return SHOW_NONE;
	}

	public void setSHOW_NONE(Integer show_none) {
		SHOW_NONE = show_none;
	}

	public Integer getShowAvatar() {
		return showAvatar;
	}

	public void setShowAvatar(Integer showAvatar) {
		this.showAvatar = showAvatar;
	}

	public boolean isShowEmail() {
		return showEmail;
	}

	public void setShowEmail(boolean showEmail) {
		this.showEmail = showEmail;
	}

	public boolean isShowOffline() {
		return showOffline;
	}

	public void setShowOffline(boolean showOffline) {
		this.showOffline = showOffline;
	}

	public Integer getShowSign() {
		return showSign;
	}

	public void setShowSign(Integer showSign) {
		this.showSign = showSign;
	}

	public Integer getThemeId() {
		return themeId;
	}

	public void setThemeId(Integer themeId) {
		this.themeId = themeId;
	}

	public Integer getTimeZone() {
		return timeZone;
	}

	public void setTimeZone(Integer timeZone) {
		this.timeZone = timeZone;
	}

	public Integer getTopicPageSize() {
		return topicPageSize;
	}

	public void setTopicPageSize(Integer topicPageSize) {
		this.topicPageSize = topicPageSize;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

}
